package com.auction.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "bidding")
@ApiModel("竞拍信息")
public class Bidding {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    private int product_id;
    private String product_name;
    private double price;
    private int status;
    private int user_id;
    private int times;
    private String user_name;
    private LocalDateTime over_time;
    private LocalDateTime create_time;
}
